$(document).ready(function()
{
    

 $(".cuadro").mouseenter(function(e)
  {

    $(this).find(".texto").stop().animate
    ({			 
		"font-size" : '30px'
    },{queue:false,duration:300});
    
    
    e.preventDefault();
    e.stopPropagation();
    e.stopImmediatePropagation(); 
    
  });
  $(".cuadro").mouseleave(function(e)
  {

    $(this).find(".texto").stop().animate
    ({			 
		"font-size" : '24px'
    },{queue:false,duration:300});
    
    
    e.preventDefault();
    e.stopPropagation();
    e.stopImmediatePropagation(); 
    
  });
  $("*").delegate(".click_registro","click",function(e)
  {
        
         $.ajax
        ({
            type: 'POST',
            url: "modelo.php",
            data: 'opc=2',
            success: function(data) 
            {
              $("#respuesta").html(data);                         
            }
        })        
        e.preventDefault();
        e.stopPropagation();
        e.stopImmediatePropagation();
        
    });
    
    
    
   
    
   $("*").delegate("[name=documento]","blur",function(e)
   {
        $cedula = $(this).val();
         $.ajax
        ({
            type: 'POST',
            url: "verificar.php",
            data: 'opc=verficarCedula&cedula='+$cedula,
            success: function(data) 
            {
              data = data.trim();
              if( data == "repetido")
              {
                 $("#registrarPar").attr('disabled','');
                 alert("");
              }
              else
              $("#registrarPar").removeAttr('disabled');               
            }
        });
        
          
        e.preventDefault();
        e.stopPropagation();
        e.stopImmediatePropagation();
        
    });    

});